﻿using Ross.OA.Entities;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Ross.OA.EntityFramework.Model
{
    [Table("Log_ApiLog")]
    public class Log_ApiLog : Entity<long>
    {
        [Required, MaxLength(50)]
        public string ApiName { get; set; }    
        [Required]
        public DateTime InsertTime { get; set; } = DateTime.Now;
        [Required]
        public DateTime AskTime { get; set; } = DateTime.Now;
        public string AskContent { get; set; }
        public DateTime BackTime { get; set; }
        public string BackContent { get; set; }
    }
}
